package com.flansmod.client.model.BFMCpack; //Path where the model is located

import com.flansmod.client.model.EnumAnimationType;
import com.flansmod.client.model.ModelGun;
import com.flansmod.client.tmt.ModelRendererTurbo;
import com.flansmod.common.vector.Vector3f;

public class ModelRPG16 extends ModelGun {
    int textureX = 64;

    int textureY = 256;

    public ModelRPG16() {
        gunModel = new ModelRendererTurbo[32];
        gunModel[0] = new ModelRendererTurbo(this, -22, 149, textureX, textureY);
        gunModel[1] = new ModelRendererTurbo(this, -12, 148, textureX, textureY);
        gunModel[2] = new ModelRendererTurbo(this, -5, 148, textureX, textureY);
        gunModel[3] = new ModelRendererTurbo(this, 3, 3, textureX, textureY);
        gunModel[4] = new ModelRendererTurbo(this, 1, 17, textureX, textureY);
        gunModel[5] = new ModelRendererTurbo(this, 1, 33, textureX, textureY);
        gunModel[6] = new ModelRendererTurbo(this, 1, 49, textureX, textureY);
        gunModel[7] = new ModelRendererTurbo(this, 1, 57, textureX, textureY);
        gunModel[8] = new ModelRendererTurbo(this, 1, 73, textureX, textureY);
        gunModel[9] = new ModelRendererTurbo(this, 10, 206, textureX, textureY);
        gunModel[10] = new ModelRendererTurbo(this, 35, 131, textureX, textureY);
        gunModel[11] = new ModelRendererTurbo(this, 49, 107, textureX, textureY);
        gunModel[12] = new ModelRendererTurbo(this, 50, 116, textureX, textureY);
        gunModel[13] = new ModelRendererTurbo(this, 50, 15, textureX, textureY);
        gunModel[14] = new ModelRendererTurbo(this, 41, 65, textureX, textureY);
        gunModel[15] = new ModelRendererTurbo(this, 41, 73, textureX, textureY);
        gunModel[16] = new ModelRendererTurbo(this, 33, 81, textureX, textureY);
        gunModel[17] = new ModelRendererTurbo(this, 1, 89, textureX, textureY);
        gunModel[18] = new ModelRendererTurbo(this, 17, 89, textureX, textureY);
        gunModel[19] = new ModelRendererTurbo(this, 33, 89, textureX, textureY);
        gunModel[20] = new ModelRendererTurbo(this, 49, 89, textureX, textureY);
        gunModel[21] = new ModelRendererTurbo(this, 1, 97, textureX, textureY);
        gunModel[22] = new ModelRendererTurbo(this, 17, 97, textureX, textureY);
        gunModel[23] = new ModelRendererTurbo(this, 33, 97, textureX, textureY);
        gunModel[24] = new ModelRendererTurbo(this, 49, 97, textureX, textureY);
        gunModel[25] = new ModelRendererTurbo(this, 1, 105, textureX, textureY);
        gunModel[26] = new ModelRendererTurbo(this, 17, 105, textureX, textureY);
        gunModel[27] = new ModelRendererTurbo(this, 33, 105, textureX, textureY);
        gunModel[28] = new ModelRendererTurbo(this, 1, 113, textureX, textureY);
        gunModel[29] = new ModelRendererTurbo(this, 25, 113, textureX, textureY);
        gunModel[30] = new ModelRendererTurbo(this, 58, 52, textureX, textureY);
        gunModel[31] = new ModelRendererTurbo(this, 49, 81, textureX, textureY);
        gunModel[0].addShapeBox(0.0F, 0.0F, 0.0F, 67, 2, 5, 0.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F);
        gunModel[0].setRotationPoint(-27.0F, -20.0F, -1.0F);
        gunModel[1].addShapeBox(0.0F, 0.0F, 0.0F, 67, 2, 6, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[1].setRotationPoint(-27.0F, -18.0F, -1.5F);
        gunModel[2].addShapeBox(0.0F, 0.0F, 0.0F, 67, 2, 5, 0.0F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F);
        gunModel[2].setRotationPoint(-27.0F, -16.0F, -1.0F);
        gunModel[3].addShapeBox(0.0F, 0.0F, 0.0F, 19, 3, 7, 0.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F);
        gunModel[3].setRotationPoint(-26.0F, -22.0F, -2.0F);
        gunModel[4].addShapeBox(0.0F, 0.0F, 0.0F, 19, 4, 9, 0.0F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F);
        gunModel[4].setRotationPoint(-26.0F, -19.0F, -3.0F);
        gunModel[5].addShapeBox(0.0F, 0.0F, 0.0F, 19, 3, 7, 0.0F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, 1.5F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F);
        gunModel[5].setRotationPoint(-26.0F, -15.0F, -2.0F);
        gunModel[6].addShapeBox(0.0F, 0.0F, 0.0F, 13, 2, 5, 0.0F, 0.0F, 2.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 2.0F, -1.0F, 0.0F, -1.0F, 2.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, -1.0F, 2.5F);
        gunModel[6].setRotationPoint(-40.0F, -20.0F, -1.0F);
        gunModel[7].addShapeBox(0.0F, 0.0F, 0.0F, 13, 2, 6, 0.0F, 0.0F, 1.0F, 2.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 2.0F, 0.0F, 1.0F, 2.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 2.0F);
        gunModel[7].setRotationPoint(-40.0F, -18.0F, -1.5F);
        gunModel[8].addShapeBox(0.0F, 0.0F, 0.0F, 13, 2, 5, 0.0F, 0.0F, -1.0F, 2.5F, 0.0F, 0.0F, 0.5F, 0.0F, 0.0F, 0.5F, 0.0F, -1.0F, 2.5F, 0.0F, 2.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 2.0F, -1.0F);
        gunModel[8].setRotationPoint(-40.0F, -16.0F, -1.0F);
        gunModel[9].addBox(0.0F, 0.0F, 0.0F, 12, 4, 2, 0.0F);
        gunModel[9].setRotationPoint(1.0F, -14.0F, 0.0F);
        gunModel[10].addShapeBox(0.0F, 0.0F, 0.0F, 4, 4, 2, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.5F, 0.0F, 0.0F, -1.5F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[10].setRotationPoint(13.0F, -14.0F, 0.0F);
        gunModel[11].addShapeBox(0.0F, 0.0F, 0.0F, 4, 4, 2, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -2.5F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -2.5F, 0.0F);
        gunModel[11].setRotationPoint(-3.0F, -14.0F, 0.0F);
        gunModel[12].addShapeBox(0.0F, 0.0F, 0.0F, 4, 4, 2, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -2.0F, 0.0F, 0.0F, -2.5F, 0.0F, 0.0F, -2.5F, 0.0F, 0.0F, -2.0F, 0.0F);
        gunModel[12].setRotationPoint(-7.0F, -14.0F, 0.0F);
        gunModel[13].addShapeBox(0.0F, 0.0F, 0.0F, 4, 7, 2, 0.0F, 0.0F, 0.0F, -0.1F, 0.5F, 0.0F, -0.1F, 0.5F, 0.0F, -0.1F, 0.0F, 0.0F, -0.1F, 2.0F, 0.0F, -0.1F, -2.0F, 1.5F, -0.1F, -2.0F, 1.5F, -0.1F, 2.0F, 0.0F, -0.1F);
        gunModel[13].setRotationPoint(3.0F, -10.0F, 0.0F);
        gunModel[14].addBox(0.0F, 0.0F, 0.0F, 7, 4, 2, 0.0F);
        gunModel[14].setRotationPoint(1.0F, -19.0F, 4.0F);
        gunModel[15].addShapeBox(0.0F, 0.0F, 0.0F, 7, 4, 2, 0.0F, -0.7F, 0.0F, 0.0F, -3.0F, 0.0F, 0.0F, -3.0F, 0.0F, 0.0F, -0.7F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -2.0F, 0.0F, 0.0F, -2.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F);
        gunModel[15].setRotationPoint(1.0F, -23.0F, 4.0F);
        gunModel[16].addBox(0.0F, 0.0F, 0.0F, 5, 3, 3, 0.0F);
        gunModel[16].setRotationPoint(1.0F, -26.0F, 3.5F);
        gunModel[17].addShapeBox(0.0F, 0.0F, 0.0F, 3, 1, 3, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F);
        gunModel[17].setRotationPoint(-2.0F, -24.0F, 3.5F);
        gunModel[18].addShapeBox(0.0F, 0.0F, 0.0F, 3, 1, 3, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[18].setRotationPoint(-2.0F, -25.0F, 3.5F);
        gunModel[19].addShapeBox(0.0F, 0.0F, 0.0F, 3, 1, 3, 0.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[19].setRotationPoint(-2.0F, -26.0F, 3.5F);
        gunModel[20].addShapeBox(0.0F, 0.0F, 0.0F, 2, 1, 3, 0.0F, 0.0F, -0.5F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -0.5F, 1.0F, 0.0F, 1.0F, -0.5F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 1.0F, -0.5F);
        gunModel[20].setRotationPoint(-4.0F, -24.0F, 3.5F);
        gunModel[21].addShapeBox(0.0F, 0.0F, 0.0F, 2, 1, 3, 0.0F, 0.0F, 0.5F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.5F, 1.0F, 0.0F, 0.5F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.5F, 1.0F);
        gunModel[21].setRotationPoint(-4.0F, -25.0F, 3.5F);
        gunModel[22].addShapeBox(0.0F, 0.0F, 0.0F, 2, 1, 3, 0.0F, 0.0F, 1.0F, -0.5F, 0.0F, 0.0F, -1.0F, 0.0F, 0.0F, -1.0F, 0.0F, 1.0F, -0.5F, 0.0F, -0.5F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -0.5F, 1.0F);
        gunModel[22].setRotationPoint(-4.0F, -26.0F, 3.5F);
        gunModel[23].addBox(0.0F, 0.0F, 0.0F, 3, 2, 3, 0.0F);
        gunModel[23].setRotationPoint(3.0F, -28.0F, 3.5F);
        gunModel[24].addShapeBox(0.0F, 0.0F, 0.0F, 3, 2, 3, 0.0F, -1.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, -1.0F, -0.5F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[24].setRotationPoint(3.0F, -30.0F, 3.5F);
        gunModel[25].addBox(0.0F, 0.0F, 0.0F, 3, 2, 3, 0.0F);
        gunModel[25].setRotationPoint(6.0F, -29.5F, 3.5F);
        gunModel[26].addShapeBox(0.0F, 0.0F, 0.0F, 3, 1, 3, 0.0F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F);
        gunModel[26].setRotationPoint(6.0F, -30.5F, 3.5F);
        gunModel[27].addShapeBox(0.0F, 0.0F, 0.0F, 3, 1, 3, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F);
        gunModel[27].setRotationPoint(6.0F, -27.5F, 3.5F);
        gunModel[28].addBox(0.0F, 0.0F, 0.0F, 6, 2, 2, 0.0F);
        gunModel[28].setRotationPoint(31.0F, -22.0F, 0.5F);
        gunModel[29].addBox(0.0F, 0.0F, 0.0F, 7, 4, 2, 0.0F);
        gunModel[29].setRotationPoint(-30.0F, -24.0F, 0.5F);
        gunModel[30].addShapeBox(0.0F, 0.0F, 0.0F, 1, 6, 1, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F, 0.0F, -0.5F, 0.0F);
        gunModel[30].setRotationPoint(-1.0F, -30.0F, 3.0F);
        gunModel[31].addShapeBox(0.0F, 0.0F, 0.0F, 4, 1, 1, 0.0F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F, 0.0F, 0.2F, 0.2F);
        gunModel[31].setRotationPoint(-5.0F, -30.0F, 3.0F);
        ammoModel = new ModelRendererTurbo[3];
        ammoModel[0] = new ModelRendererTurbo(this, 1, 121, textureX, textureY);
        ammoModel[1] = new ModelRendererTurbo(this, 1, 137, textureX, textureY);
        ammoModel[2] = new ModelRendererTurbo(this, 8, 131, textureX, textureY);
        ammoModel[0].addShapeBox(0.0F, 0.0F, 0.0F, 10, 4, 4, 0.0F, 0.0F, -1.0F, -1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.0F, -1.0F, 0.0F, -1.0F, -1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.0F, -1.0F);
        ammoModel[0].setRotationPoint(17.0F, -19.0F, -0.5F);
        ammoModel[1].addShapeBox(0.0F, 0.0F, 0.0F, 12, 4, 4, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.0F, -1.0F, 0.0F, -1.0F, -1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -1.0F, -1.0F, 0.0F, -1.0F, -1.0F, 0.0F, 0.0F, 0.0F);
        ammoModel[1].setRotationPoint(27.0F, -19.0F, -0.5F);
        ammoModel[2].addBox(0.0F, 0.0F, 0.0F, 8, 2, 2, 0.0F);
        ammoModel[2].setRotationPoint(9.0F, -18.0F, 0.5F);
        hasFlash = false;
        hasArms = true;
        leftArmPos = new Vector3f(-0.12F, -0.4F, 0.2F);
        leftArmRot = new Vector3f(60.0F, 45.0F, 0.0F);
        leftArmReloadPos = new Vector3f(-0.1F, -0.1F, -0.05F);
        leftArmReloadRot = new Vector3f(80.0F, 70.0F, 0.0F);
        rightArmPos = new Vector3f(0.35F, -0.6F, 0.0F);
        rightArmRot = new Vector3f(0.0F, 0.0F, -90.0F);
        rightArmReloadPos = new Vector3f(-0.4F, -0.25F, -0.6F);
        rightArmReloadRot = new Vector3f(-60.0F, 50.0F, -40.0F);
        rightArmScale = new Vector3f(0.8F, 1.0F, 0.8F);
        leftArmScale = new Vector3f(0.8F, 1.0F, 0.8F);
        rightHandAmmo = false;
        leftHandAmmo = true;
        animationType = EnumAnimationType.CUSTOMEND_LOADED;
        rotateGunVertical = 35.0F;
        rotateGunHorizontal = 1.0F;
        translateGun = new Vector3f(-0.625F, 0.125F, -0.0625F);
        fancyStance = true;
        stanceRotate = new Vector3f(20.0F, 0.0F, -70.0F);
        stanceTranslate = new Vector3f(0.0F, 0.0F, 0.0F);
        translateAll(0.0F, 0.0F, 0.0F);
        flipAll();
    }
}
